﻿<Window x:Class="GMigrate.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:p="clr-namespace:GMigrate.Properties"
        Title="GMigrate" Height="564" Width="428" Icon="/GMigrate;component/gmail.ico" IsEnabled="True" xmlns:my="clr-namespace:GMigrate">
        <Window.Resources>
            <p:Settings x:Key="settings" />
        </Window.Resources>
    <Grid Margin="5" DataContext="{StaticResource settings}">
        <Button Content="Run" Height="23" Margin="12,245,14,0" Name="btnRun" VerticalAlignment="Top" Click="btnRun_Click" IsDefault="True" />
        <ProgressBar Height="10" Margin="-3,377,3,0" Name="messagesProgressBar" VerticalAlignment="Top" />
        <Label Content="Folder:" Name="folderLabel" Height="28" Margin="-2,274,2,0" VerticalAlignment="Top" />
        <Label Content="Messages: 0/0" Height="28" Margin="-3,296,3,0" Name="messagesLabel" VerticalAlignment="Top" />
        <GroupBox Header="Source Account" Height="100" HorizontalAlignment="Left" Name="srcAccountGroupBox" VerticalAlignment="Top" Width="393">
            <Grid>
                <TextBox Height="23" Margin="76,12,6,0" Name="srcEmailTextBox" VerticalAlignment="Top" Text="{Binding Path=Default.srcEmail, Mode=TwoWay}" />
                <Label Content="Email:" Height="28" HorizontalAlignment="Left" Margin="32,10,0,0" Name="srcEmailLabel" VerticalAlignment="Top" />
                <PasswordBox Height="23" HorizontalAlignment="Left" Margin="76,41,0,0" Name="srcPassword" VerticalAlignment="Top" Width="200" PasswordChanged="srcPassword_PasswordChanged" />
                <Label Content="Password:" Height="28" HorizontalAlignment="Left" Margin="10,41,0,0" Name="label1" VerticalAlignment="Top" />
                <CheckBox Content="Debug" Height="16" HorizontalAlignment="Left" Margin="282,46,0,0" Name="srcDebugCheckBox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.srcDebug,Mode=TwoWay}" Click="srcDebugCheckBox_Click" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Destination Account" Height="100" HorizontalAlignment="Left" Margin="1,106,0,0" Name="groupBox1" VerticalAlignment="Top" Width="394">
            <Grid>
                <TextBox Height="23" Margin="76,12,7,0" Name="destEmailTextBox" VerticalAlignment="Top" Text="{Binding Path=Default.destEmail, Mode=TwoWay}" />
                <Label Content="Email:" Height="28" HorizontalAlignment="Left" Margin="32,10,0,0" Name="label2" VerticalAlignment="Top" />
                <PasswordBox Height="23" HorizontalAlignment="Left" Margin="75,41,0,0" Name="destPassword" VerticalAlignment="Top" Width="200" PasswordChanged="destPassword_PasswordChanged" />
                <Label Content="Password:" Height="28" HorizontalAlignment="Left" Margin="10,41,0,0" Name="label3" VerticalAlignment="Top" />
                <CheckBox Content="Debug" Height="16" HorizontalAlignment="Left" Margin="281,46,0,0" Name="destDebugCheckBox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.destDebug, Mode=TwoWay}" Click="destDebugCheckBox_Click" />
            </Grid>
        </GroupBox>
        <ListBox Margin="0,393,0,0" Name="statusListBox" />
        <Label Content="Uploaded" Height="28" HorizontalAlignment="Left" Margin="-1,319,0,0" Name="label4" VerticalAlignment="Top" Width="75" HorizontalContentAlignment="Center" />
        <Label Content="0" Height="28" HorizontalAlignment="Left" Margin="5,343,0,0" Name="uploadedLabel" VerticalAlignment="Top" Width="64" ToolTip="New messages uploaded because they didn't exist on the destination" HorizontalContentAlignment="Center" />
        <Label Content="Skipped" Height="28" Margin="160,319,0,0" Name="label6" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75" HorizontalContentAlignment="Center" />
        <Label Content="0" Height="28" HorizontalAlignment="Left" Margin="160,343,0,0" Name="skippedLabel" VerticalAlignment="Top" Width="75" ToolTip="Skipped because it already existed." HorizontalContentAlignment="Center" />
        <Label Content="Copied" Height="28" HorizontalAlignment="Left" Margin="80,319,0,0" Name="label8" VerticalAlignment="Top" Width="75" HorizontalContentAlignment="Center" />
        <Label Content="0" Height="28" Margin="81,343,0,0" Name="copiedLabel" VerticalAlignment="Top" HorizontalAlignment="Left" Width="74" ToolTip="Copied from another mailbox on the destination account." HorizontalContentAlignment="Center" />
        <CheckBox Height="16" HorizontalAlignment="Left" Margin="6,216,0,0" Name="savePasswordsCheckBox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.storePasswords,Mode=TwoWay}" Content="Save Passwords" Click="savePasswordsCheckBox_Click" />
        <CheckBox Content="Sync Flags" Height="16" HorizontalAlignment="Left" Margin="112,216,0,0" Name="syncFlagsCheckBox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.syncFlags, Mode=TwoWay}" />
        <CheckBox Content="Verify" Height="16" HorizontalAlignment="Left" Margin="190,216,0,0" Name="verifyCheckbox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.verify, Mode=TwoWay}" ToolTip="Verify Files" />
        <Label Content="Errors" Height="28" HorizontalAlignment="Left" Margin="322,319,0,0" Name="label5" VerticalAlignment="Top" Width="75" HorizontalContentAlignment="Center" />
        <Label Content="0" Height="28" Margin="322,343,0,0" Name="errorsLabel" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75" ToolTip="Not copied because there was an error." HorizontalContentAlignment="Center" />
        <Label Content="Fixed" Height="28" HorizontalAlignment="Left" HorizontalContentAlignment="Center" Margin="241,319,0,0" Name="label7" VerticalAlignment="Top" Width="75" />
        <Label Content="0" Height="28" HorizontalAlignment="Left" HorizontalContentAlignment="Center" Margin="241,343,0,0" Name="fixedLabel" ToolTip="Not copied because there was an error." VerticalAlignment="Top" Width="75" />
    </Grid>
</Window>
